Skip to main content

SocketOpen

SocketOpen[port] opens a socket that accepts TCP connections to localhost:port and returns a SocketObject representing the socket.

SocketOpen[address] opens a socket that accepts TCP connections to the specified local address.

SocketOpen[address,"protocol"] opens a socket that accepts connections with the specified protocol.

SocketOpen[address,{"protocol","type"}] opens a socket that accepts connections of the specified protocol and type.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.